package com.canxin.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.canxin.entity.ExamEntity;
import com.canxin.service.ExamServiceI;

import java.util.List;

import org.jeecgframework.core.common.service.impl.CommonServiceImpl;

@Service("examService")
@Transactional
public class ExamServiceImpl extends CommonServiceImpl implements ExamServiceI {

	@Override
	public List<ExamEntity> getAllExamsOrderByExamDate() {
		// TODO Auto-generated method stub
		return super.findByQueryString("from ExamEntity order by examdate desc");
	}
	
}